import java.util.List;

public class Test {
    public static void main(String[] args) {
        Work work=new Work();

        List<Card> cardlist=work.buyCard();
        System.out.println(cardlist);
        work.shuffle(cardlist);
        System.out.println(cardlist);
        List<List<Card>> ret=work.playCard(cardlist);
        for (int i = 0; i <ret.size(); i++) {
            System.out.println("第"+(i+1)+"个人的牌为："+ret.get(i));

        }
        System.out.println("剩下的牌为：");
        System.out.println(cardlist);

    }
}
